import request from '@/utils/request'

// 查询列表
export function listConfig(query) {
  return request({
    url: '/pressureConfiguration/list',
    method: 'get',
    params: query
  })
}

// 新增大表档案
export function addConfig(data) {
  return request({
    url: '/pressureConfiguration/add',
    method: 'post',
    data: data
  })
}

// 删除大表档案
export function delConfig(id) {
  return request({
    url: '/pressureConfiguration/' + id,
    method: 'delete'
  })
}
